package br.com.massai.view.enums;

public enum CoreMessage implements GenericCore {

	SUCESS_SAVE("common.save.sucess"),
	SUCESS_UPDATE("common.update.sucess"),
	SUCESS_DELETE("common.delete.sucess"),
	NO_RECORD_FOUND("common.no.record.found");

	private String code;

	private CoreMessage(String code){
		this.code = code;
	}

	@Override
	public String getCode() {
		return this.code;
	}
}